package com.example.zhinongbao.view;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;

import com.example.zhinongbao.R;

public class AboutUs extends AppCompatActivity {

    private ImageView backButton;

    @Override
    protected void onCreate(@NonNull Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.about_us);
        initializeBackButton();
    }

    private void initializeBackButton() {
        backButton = findViewById(R.id.aboutUs_back_btn);
        backButton.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                onBackPressed();
            }
        });
    }
}